package zihua.lee.sdk.domain.model;

/**
 * \* User: 木辛桦
 * \* gitee:https://gitee.com/lzfa7
 * \* Date: 2024/9/11
 * \* Time: 11:03
 * \* Description:
 * \
 */
import java.util.HashMap;
import java.util.Map;

public class Message {

    //发送的对象
    private String touser = "ouOa96J9wDDbp8IGnJrSgLaW7NuQ";
    //模板ID
    private  String template_id = "gd7bj1MvEVMHhmp7jN6qgR5NGs9SWaKCjnXLlqVKSy0";
    //模板信息的详情信息
    private  String url;
    private Map<String, Map<String,String>> data = new HashMap<>();

    public void put(String key, String value) {
        data.put(key, new HashMap<String, String>() {
            private static final long serialVersionUID = 7092338402387318563L;

            {
                put("value", value);
            }
        });
    }

    public String getTouser() {
        return touser;
    }

    public void setTouser(String touser) {
        this.touser = touser;
    }

    public String getTemplate_id() {
        return template_id;
    }

    public void setTemplate_id(String template_id) {
        this.template_id = template_id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map<String, Map<String, String>> getData() {
        return data;
    }

    public void setData(Map<String, Map<String, String>> data) {
        this.data = data;
    }

}
